//
//  HomeShopModel.h
//  MyNewProject
//
//  Created by 王春辉 on 2020/1/9.
//  Copyright © 2020年 sun. All rights reserved.
//

#import "WJBaseModel.h"

NS_ASSUME_NONNULL_BEGIN

#pragma mark -- mark 首页商城详情 model

@interface HomeShopClassifySectionModel : WJBaseModel

@property (nonatomic, copy) NSString *Id;
@property (nonatomic, copy) NSString *type_id;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *img;
@property (nonatomic, copy) NSString *sort;

@end

#pragma mark -- mark 首页商城model 分类

@interface HomeShopClassifyModel : WJBaseModel

@property (nonatomic, copy) NSString *ptId;
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *sort;
@property (nonatomic, strong) NSArray <HomeShopClassifySectionModel *>*goods_type_two;

@end
#pragma mark -- mark 首页商城model

@interface HomeShopModel : WJBaseModel

@property (nonatomic, strong) NSArray <HomeShopClassifyModel *>* data;

@end


NS_ASSUME_NONNULL_END
/*

{
    "status": "ok",
    "data": [
             {
                 "id": "8",
                 "title": "推荐分类",
                 "sort": "1",
                 "goods_type_two": [
                                    {
                                        "id": "7",
                                        "type_id": "8",
                                        "name": "和田玉",
                                        "img": "http://apiadmin.yupinyouxuan.com/upload/test/jifenshangcheng.png",
                                        "sort": "999"
                                    },
                                    {
                                        "id": "8",
                                        "type_id": "8",
                                        "name": "瓷器",
                                        "img": "http://apiadmin.yupinyouxuan.com/upload/test/jifenshangcheng.png",
                                        "sort": "999"
                                    },
                                    {
                                        "id": "9",
                                        "type_id": "8",
                                        "name": "书画",
                                        "img": "http://apiadmin.yupinyouxuan.com/upload/test/jifenshangcheng.png",
                                        "sort": "999"
                                    }
                                    ]
             },
             {
                 "id": "3",
                 "title": "玉翠珠宝",
                 "sort": "2",
                 "goods_type_two": [
                                    {
                                        "id": "1",
                                        "type_id": "3",
                                        "name": "和田玉",
                                        "img": "http://apiadmin.yupinyouxuan.com/upload/test/jifenshangcheng.png",
                                        "sort": "999"
                                    },
                                    {
                                        "id": "2",
                                        "type_id": "3",
                                        "name": "翡翠",
                                        "img": "http://apiadmin.yupinyouxuan.com/upload/test/jifenshangcheng.png",
                                        "sort": "999"
                                    },
                                    {
                                        "id": "3",
                                        "type_id": "3",
                                        "name": "珍珠",
                                        "img": "http://apiadmin.yupinyouxuan.com/upload/test/jifenshangcheng.png",
                                        "sort": "999"
                                    },
                                    {
                                        "id": "4",
                                        "type_id": "3",
                                        "name": "和田玉",
                                        "img": "http://apiadmin.yupinyouxuan.com/upload/test/jifenshangcheng.png",
                                        "sort": "999"
                                    },
                                    {
                                        "id": "5",
                                        "type_id": "3",
                                        "name": "翡翠",
                                        "img": "http://apiadmin.yupinyouxuan.com/upload/test/jifenshangcheng.png",
                                        "sort": "999"
                                    },
                                    {
                                        "id": "6",
                                        "type_id": "3",
                                        "name": "珍珠",
                                        "img": "http://apiadmin.yupinyouxuan.com/upload/test/jifenshangcheng.png",
                                        "sort": "999"
                                    }
                                    ]
             },
             {
                 "id": "7",
                 "title": "和田玉",
                 "sort": "3",
                 "goods_type_two": []
             },
             {
                 "id": "1",
                 "title": "名人书画",
                 "sort": "999",
                 "goods_type_two": []
             },
             {
                 "id": "2",
                 "title": "紫砂陶瓷",
                 "sort": "999",
                 "goods_type_two": []
             },
             {
                 "id": "4",
                 "title": "翡翠A货",
                 "sort": "999",
                 "goods_type_two": []
             },
             {
                 "id": "5",
                 "title": "和田玉",
                 "sort": "999",
                 "goods_type_two": []
             },
             {
                 "id": "6",
                 "title": "翡翠A货",
                 "sort": "999",
                 "goods_type_two": []
             }
             ]
}
*/
